package com.lanou3g.hw0426;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.Statement;

/**
 * Created by dllo on 18/4/26.
 */
public class Main {
    public static void main(String[] args) {
        try {
            Class.forName("com.mysql.cj.jdbc.Driver");
            Connection conn= DriverManager.getConnection("jdbc:mysql://localhost:3306/code_jdbc","root","123456");
            Statement state=conn.createStatement();
            String sql="insert into client(username,pwd,word)values(varchar(255),varchar(255),text)";

        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
